package com.qqin.mapper;

import com.qqin.pojo.Comment;
import com.qqin.pojo.dto.CommUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CommentMapper {
    List<Comment> selectAll();
    Comment selectById(Integer commentId);
    List<CommUser> selectByGoods(Integer commentGoods);
    List<Comment> selectByAny(Comment comment);
    void add(Comment comment);

}
